package com.tianyadu.multi_module_demo.domain;

/**
 * @FileName: User
 * @Description: 用户信息
 * @author: xueyj
 * @create: 2018-11-17 09:55
 */
public class User {
    /** 用户id */
    private int id;

    /** 用户名称 */
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}